lcEventSetProc Home

Specifies an application-defined event procedure that LiteCAD will call on specific event type.

 void lcEventSetProc (
   int EventType,
   F_LCEVENT pFunc,
   int Prm1,
   HANDLE Prm2
 );

Parameters
EventType
  Event type
pFunc
  Pointer to the event procedure, which will be called on specified event type.
Prm1
  Application-defined parameter that will be available via LC_PROP_EVENT_APPPRM1.
Prm2
  Application-defined parameter that will be available via LC_PROP_EVENT_APPPRM2.

Return Value

  None.